

#include <iostream>
#include <set>
#include <vector>
using namespace std;

void Print(const vector<int>& v)
{
    for (const auto& e : v)
    {
        cout << e << " ";
    }
    cout << endl;
}

void Test1()
{
    int n = 0;
    cin >> n;

    vector<int> res;

    for (int i = 0, beg = 1, end = n; i < n / 2; ++i)
    {
        res.push_back(beg++);
        res.push_back(end--);
    }
    if (n % 2)
        res.push_back(n / 2 + 1);

    Print(res);
}

void Input(set<int>& st, int n)
{
    for (int tmp = 0; n--;)
    {
        cin >> tmp;
        st.insert(tmp);
    }
}

void Test2()
{
    int n = 0, m = 0;
    cin >> n >> m;

    set<int> st;
    vector<int> res;

    Input(st, n + m);

    while (st.size())
    {
        int a = *st.begin();
        res.push_back(a);
        st.erase(a);
    }

    Print(res);
}

int main()
{
    return 0;
}


